<?php
// config DB here
//$db_staf_attnd = "staf_attnd";
/*$dbname = "prowaris_vms";
$dbuser = "prowaris";
$dbhost = "localhost";
$dbport = "5432";
$dbpass = "GbmqtsL99";
*/

$dbname = "jkr";
$dbuser = "pgsql";
$dbhost = "localhost";
$dbport = "5432";
$dbpass = "genpass";


/* config application here */
$ENABLE_LOGIN = true;
$AUTH_TYPE = 'NORMAL'; // NORMAL | ADVANCE | LDAP | 
$SHOW_COPYRIGHT = false;
//$ENABLE_FRAME = false;
$USE_FIXED_MENU = true;
$USE_FRAME_MENU = false;
$MENU_WIDTH = '220';
$THEME = 'neosis';
$TITLE = 'J-Pengurusan';
//$THEME = 'slashdot';
//$THEME = 'olive';

/* config for adodb */
require_once('include/adodb/adodb-active-record.inc.php');
include ("include/adodb/adodb.inc.php");
$DB = NewADOConnection('pgsql');
$DB->Connect($dbhost, $dbuser, $dbpass, $dbname);
ADOdb_Active_Record::SetDatabaseAdapter($DB);
$ADODB_ASSOC_CASE = 0;

//$DB->debug = true;

define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'otamu_settings.php');

//error_reporting(1);

?>